<?php
/**
 * The template for displaying content in the single.php template
 *
 * @package WordPress
 * @subpackage Twenty_Eleven
 * @since Twenty Eleven 1.0
 */
?>
<div class="leftpage aleft">
	<?php

		if(has_post_thumbnail()) {the_post_thumbnail('page-thumb');
		} else { ?>
				<img src="<?php echo get_template_directory_uri(); ?>/images/page-thumb.jpg" alt="<?php the_title();?>"/>
	<?php } //endif?>

</div><!--/.leftpage-->
<div class="mainpage aleft">
	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
		<header class="entry-header">
			<h1 class="entry-title"><?php the_title(); ?></h1>
	
			<?php if ( 'post' == get_post_type() ) : ?>
			<div class="entry-meta">
				<?php twentyeleven_posted_on(); ?>
			</div><!-- .entry-meta -->
			<?php endif; ?>
		</header><!-- .entry-header -->
	
		<div class="entry-content">
		<?php 
					the_content()
		
		?>
			
		</div><!-- .entry-content -->
	
		
	</article>
</div>
